<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                >
    <f:view contentType="text/html">
        <h:panelGrid style="font-size: 10px" width="100%" columnClasses="alignTop" >                
            <p:tabView widgetVar="mainTabView" style="top: 4pc;left: 0pc;right: 0pc;bottom: 0pc;
                       position: absolute;border: 0"                           
                       >
                <p:tab title="Dashboard">
                    <p:tabView style="top: 40px;left: 0px;right: 0px;bottom: 0px;
                               position: absolute;border: 0">
                        <p:tab title="Production">
                            <ui:include src="/production/ProductionDashboard.xhtml"/>
                        </p:tab>
                        <p:tab title="Quality">
                            <ui:include src="/quality/QualityDashboard.xhtml"/>
                        </p:tab>

                    </p:tabView>

                </p:tab>

                <p:tab title="Schedule">
                    <h:panelGrid style="width:100%; height: 100%;vertical-align: top" >

                        <p:tabView style="top: 40px;left: 0px;right: 0px;bottom: 0px;
                                   position: absolute;border: 0">

                            <p:tab title="MPS">
                                <ui:include src="/schedule/masterProductionSchedule.xhtml"/>
                            </p:tab>
                            <p:tab title="MPS detail">
                                <ui:include src="/schedule/mpsDetail.xhtml" />
                            </p:tab>

                            <p:tab title="Rolling Plan">
                                <ui:include src="/schedule/rollingPlan.xhtml" />
                            </p:tab>
                            <p:tab title="Rolling Plan Detail">
                                <ui:include src="/schedule/rollingPlanDetail.xhtml" />
                            </p:tab>

                        </p:tabView>

                    </h:panelGrid>
                </p:tab>

                <p:tab title="Kanban">
                    <p:tabView style="top: 40px;left: 0px;right: 0px;bottom: 0px;
                               position: absolute;border: 0">
                        <p:tab title="Material Kanban">
                            <ui:include src="kanban/materialKanban.xhtml"/>    
                        </p:tab>
                        <p:tab title="Material Issue">
                            <ui:include src="kanban/materialIssue.xhtml" />
                        </p:tab>
                    </p:tabView>

                </p:tab>

                <p:tab title="Production">
                    <h:panelGrid style="width:100%; height: 100%;vertical-align: top" >
                        <p:tabView style="top: 40px;left: 0px;right: 0px;bottom: 0px;
                                   position: absolute;border: 0">
                            <p:tab title="Allocation">
                                <ui:include src="production/allocation.xhtml" />
                            </p:tab>
                            <p:tab title="Allocation Detail">
                                <ui:include src="production/allocationDetail.xhtml" />        
                            </p:tab>
                            <p:tab title="Dispatch Unloading">
                                <ui:include src="dispatch/unLoading.xhtml" />        
                            </p:tab>
                        </p:tabView>
                    </h:panelGrid>
                </p:tab>
                <p:tab title="Quality">
                    <p:tabView style="top: 40px;left: 0px;right: 0px;bottom: 0px;
                               position: absolute;border: 0">
                        <p:tab title="Traceability Report">
                            <ui:include src="quality/TraceabilityReport.xhtml"/>    
                        </p:tab>
                    </p:tabView>
                </p:tab>
                <p:tab title="General SetUp">
                    <p:tabView style="top: 40px;left: 0px;right: 0px;bottom: 0px;
                               position: absolute;border: 0">
                        <p:tab title="Device Master">
                            <ui:include src="generalsetup/deviceMaster.xhtml"/>    
                        </p:tab>
                        <p:tab title="Tracking Device">
                            <ui:include src="generalsetup/trackingDevice.xhtml" />
                        </p:tab>
                        <p:tab title="Display Device">
                            <ui:include src="generalsetup/displayDevice.xhtml" />        
                        </p:tab>

                    </p:tabView>

                </p:tab>
                <p:tab title="Data Capture Screens">
                    <p:tabView style="top: 40px;left: 0px;right: 0px;bottom: 0px;
                               position: absolute;border: 0">
                        <p:tab title="Commissioning">
                            <p:graphicImage value="assets/images/kitting.png" />  
                        </p:tab>
                        <p:tab title="Quality Inspection">
                            <p:graphicImage value="assets/images/rework_dc1.png" />  
                        </p:tab>
                        <p:tab title="Quality Data Capture">
                            <p:graphicImage value="assets/images/Rework_DC2.png" />  
                        </p:tab>
                        <p:tab title="Offline Rework ">
                            <p:graphicImage value="assets/images/Offline_rework.png" />  
                        </p:tab>
                        <p:tab title="Dispatch Loading">
                            <p:graphicImage value="assets/images/dispatch_loading.png" />  
                        </p:tab>

                    </p:tabView>

                </p:tab>
            </p:tabView>
        </h:panelGrid>                                
    </f:view>
</ui:composition>




